<div class="jobs form">
<?php echo $this->Form->create('Job', array('type' => 'post','action'=>'add', 'controller'=> 'Job'));?>
	<fieldset>
		<legend>
		<?php __('Add Job'); ?>
		</legend>
		<?php
		echo $this->Form->input('name', array('label'=>'Job name:'));
		echo $this->Form->input('category_id', array('options' => $newVar));
		?>
		<div class='input password required'>
		<?php
		echo $this->Form->label(null,'User', array('class'=>'input password required'));
		echo $this->Form->select('user_id',$users);
		?>
		</div>
		<?php
		echo $this->Form->input('des');
		echo $this->Form->input('company');
		echo $this->Form->input('position');
		?>
	</fieldset>
	<div class=submit'>
		<input type="submit" name="aa" value="Reset">
		<input type="submit" name="submit" value="Submit">
	</div>

	<?php //echo $this->Form->end(__('Submit', true));?>

</div>
<div class="actions">
	<h3>
	<?php __('Actions'); ?>
	</h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Jobs', true), array('action' => 'index'));?>
		</li>
		<li><?php echo $this->Html->link(__('List Categories', true), array('controller' => 'categories', 'action' => 'index')); ?>
		</li>
		<li><?php echo $this->Html->link(__('New Category', true), array('controller' => 'categories', 'action' => 'add')); ?>
		</li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?>
		</li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?>
		</li>
	</ul>
</div>
